/**
 * output package name
 */
package com.kingdee.eas.ec.garden.contract;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class SettleTypeEnum extends IntEnum
{
    public static final int QUALIFIED_VALUE = 1;
    public static final int DEDUCTIONS_VALUE = 2;
    public static final int BATCH_VALUE = 3;
    public static final int ALL_VALUE = 4;
    public static final int OTHER_VALUE = 5;
    public static final int MONTH_VALUE = 6;
    public static final int QUARTER_VALUE = 7;
    public static final int HALFYEAR_VALUE = 8;

    public static final SettleTypeEnum qualified = new SettleTypeEnum("qualified", QUALIFIED_VALUE);
    public static final SettleTypeEnum Deductions = new SettleTypeEnum("Deductions", DEDUCTIONS_VALUE);
    public static final SettleTypeEnum batch = new SettleTypeEnum("batch", BATCH_VALUE);
    public static final SettleTypeEnum all = new SettleTypeEnum("all", ALL_VALUE);
    public static final SettleTypeEnum other = new SettleTypeEnum("other", OTHER_VALUE);
    public static final SettleTypeEnum month = new SettleTypeEnum("month", MONTH_VALUE);
    public static final SettleTypeEnum quarter = new SettleTypeEnum("quarter", QUARTER_VALUE);
    public static final SettleTypeEnum halfYear = new SettleTypeEnum("halfYear", HALFYEAR_VALUE);

    /**
     * construct function
     * @param integer settleTypeEnum
     */
    private SettleTypeEnum(String name, int settleTypeEnum)
    {
        super(name, settleTypeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static SettleTypeEnum getEnum(String settleTypeEnum)
    {
        return (SettleTypeEnum)getEnum(SettleTypeEnum.class, settleTypeEnum);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static SettleTypeEnum getEnum(int settleTypeEnum)
    {
        return (SettleTypeEnum)getEnum(SettleTypeEnum.class, settleTypeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(SettleTypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(SettleTypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(SettleTypeEnum.class);
    }
}